/**
 * jims
 */
package com.jims.master.modules.reg.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 出诊安排Entity
 * @author CHENXY
 * @version 2017-02-27
 */
public class ClinicSchedule extends DataEntity<ClinicSchedule> {
	
	private static final long serialVersionUID = 1L;
	private String clinicIndexId;		// 所属号别
	private String dayOfWeek;		// 出诊星期
	private String timeDesc;		// 出诊时间
	private String limitNum;		// 限号数
	private String limitPreNum;		// 限预约号数
	private String clinicIndexName;//号别名称
    private String outFlag;
    private String outFlagTrans;
    private String DayOfWeekTrans;
    private String TimeDescTrans;
    private Integer index;

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    /**
     *
     * @return
     */
    public String getOutFlagTrans() {
        return outFlagTrans;
    }

    public void setOutFlagTrans(String outFlagTrans) {
        this.outFlagTrans = outFlagTrans;
    }

    public String getDayOfWeekTrans() {
        return DayOfWeekTrans;
    }

    public void setDayOfWeekTrans(String dayOfWeekTrans) {
        DayOfWeekTrans = dayOfWeekTrans;
    }

    public String getTimeDescTrans() {
        return TimeDescTrans;
    }

    public void setTimeDescTrans(String timeDescTrans) {
        TimeDescTrans = timeDescTrans;
    }

    public String getOutFlag() {
        return outFlag;
    }

    public void setOutFlag(String outFlag) {
        this.outFlag = outFlag;
    }

    public String getClinicIndexName() {
        return clinicIndexName;
    }

    public void setClinicIndexName(String clinicIndexName) {
        this.clinicIndexName = clinicIndexName;
    }

    public ClinicSchedule() {
		super();
	}

	public ClinicSchedule(String id){
		super(id);
	}

	@Length(min=1, max=64, message="所属号别长度必须介于 1 和 64 之间")
	public String getClinicIndexId() {
		return clinicIndexId;
	}

	public void setClinicIndexId(String clinicIndexId) {
		this.clinicIndexId = clinicIndexId;
	}
	
	@Length(min=1, max=10, message="出诊星期长度必须介于 1 和 10 之间")
	public String getDayOfWeek() {
		return dayOfWeek;
	}

	public void setDayOfWeek(String dayOfWeek) {
		this.dayOfWeek = dayOfWeek;
	}
	
	@Length(min=1, max=10, message="出诊时间长度必须介于 1 和 10 之间")
	public String getTimeDesc() {
		return timeDesc;
	}

	public void setTimeDesc(String timeDesc) {
		this.timeDesc = timeDesc;
	}
	
	@Length(min=0, max=11, message="限号数长度必须介于 0 和 11 之间")
	public String getLimitNum() {
		return limitNum;
	}

	public void setLimitNum(String limitNum) {
		this.limitNum = limitNum;
	}
	
	@Length(min=0, max=11, message="限预约号数长度必须介于 0 和 11 之间")
	public String getLimitPreNum() {
		return limitPreNum;
	}

	public void setLimitPreNum(String limitPreNum) {
		this.limitPreNum = limitPreNum;
	}
	

	
}